package com.wx.gof.pattern.creational.abstractfactory;

/**
 * @ClassName HuaWeiPhoneFactory
 * @Author wx
 * @Description 华为公司工厂
 * @Date 2018-12-02-22:40
 */
public class HuaWeiCompanyFactory extends PhoneCompanyFactory{
    @Override
    Phone getPhone() {
        return new HuaWeiPhone();
    }

    @Override
    Headset getHeadset() {
        return new HuaWeiHeadset();
    }
}
